package com.dwj.auto.comment.model.req;

import com.dwj.auto.comment.common.annotation.Condition;
import com.dwj.auto.comment.common.annotation.Order;
import com.dwj.auto.comment.common.enums.ConditionType;
import com.dwj.auto.comment.config.mybatis.plus.QueryCriteria;
import com.dwj.auto.comment.dao.entity.Exam;
import com.dwj.auto.comment.model.vo.ExamVo;
import lombok.Data;

import java.util.Date;

/**
 * @author: dangweijian
 * @description: 考试列表
 * @create: 2020-01-21 17:05
 **/
@Data
public class ExamCriteria extends QueryCriteria<Exam, ExamVo> {

    @Condition
    private Integer examType;

    @Condition(type = ConditionType.LIKE)
    private String examName;

    @Condition(type = ConditionType.LIKE)
    private String className;

    @Condition(type = ConditionType.LIKE)
    private String courseName;

    @Order
    private Date createDate;
}
